/**
 * @Description:
 * @Author: sweeterjava@163.com
 * @Date: 2023/2/13
 * @Time: 01:51
 */
package cn.lsp.sharkmall.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class AdminAddNewDTO implements Serializable {

    @ApiModelProperty("登录名")
    @NotEmpty(message = "登录名不能为空")
    private String userName;

    @ApiModelProperty("用户密码")
    @NotEmpty(message = "密码不能为空")
    private String password;

    @ApiModelProperty("用户昵称")
    @NotEmpty(message = "昵称不能为空")
    private String nickName;

    @ApiModelProperty("是否锁定")
    private Byte locked;
}
